﻿// Copyright (C) 2012 Kim Jensen, TaskJunction.com
// Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TaskJunctionLib.Model
{
    public class PagedList<T> : List<T>, IPagedList<T> 
    {
        public PagedList(int Page, int TotalPages) : base()
        {
            page = Page;
            totalPages = TotalPages;
        }

        public int Page { get { return page; } }
        public int TotalPages { get { return totalPages; } }
        private int page;
        private int totalPages;
    }
}
